﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;


[Obsolete]
public class BattleConfig : MonoBehaviour
{
    public int hp = 0;
    
    public void ExecuteLifeCheck()
    {
        if (hp > 0) return;
        
        Debug.Log($"{nameof(gameObject)} was destory");
        Destroy(gameObject);
    }
}
